package com.mlx.mylogin.base;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

/**
 * @description:
 * @DateTime: 2021-11-25 15:09
 * @author: 蒙利幸
 * @version: 1.0
 **/
public class HttpSnapshot {

    private HttpServletRequest request;

    private HttpSession session;

    private HttpServletResponse response;

    private String servletPath;

    private Boolean openServletPath;

    private Object user;

    private String token;

    public HttpSnapshot() {
    }

    public String getServletPath() {
        return servletPath;
    }

    public void setServletPath(String servletPath) {
        this.servletPath = servletPath;
    }


    public HttpServletRequest getRequest() {
        return request;
    }

    public void setRequest(HttpServletRequest request) {
        this.request = request;
    }

    public HttpServletResponse getResponse() {
        return response;
    }

    public void setResponse(HttpServletResponse response) {
        this.response = response;
    }

    public HttpSession getSession() {
        return session;
    }

    public void setSession(HttpSession session) {
        this.session = session;
    }

    public Object getUser() {
        return user;
    }

    public void setUser(Object user) {
        this.user = user;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Boolean getOpenServletPath() {
        return openServletPath;
    }

    public void setOpenServletPath(Boolean openServletPath) {
        this.openServletPath = openServletPath;
    }
}
